#pragma once
#include <functional>
#include <unistd.h>
#include "log.hpp"
using task_t = std::function<void()>;
void download()
{
    sleep(1);
    LOG(Loglevel::INFO) << "我是一个下载任务" << "\r\n";
}